package com.zr.vo.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.vo.BaseVo;
import java.util.Date;

public class SysLog extends BaseVo {
    //日志id
    private Integer id;
    //日志生成事件
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;
    //日志生成者的账号
    private String operator;
    //日志生成者ip地址
    private String ip;
    //所属模块
    private String module;
    //操作类型
    private String type;
    //操作对象
    private String voNum;
    //查询条件 开始时间
    private Date startTime;
    //查询条件 结束时间
    private Date endTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module == null ? null : module.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getVoNum() {
        return voNum;
    }

    public void setVoNum(String voNum) {
        this.voNum = voNum == null ? null : voNum.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}